package com.songlanyun.modules.concerns.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.songlanyun.modules.concerns.entity.UserConcern;
import com.songlanyun.modules.concerns.model.ConcernSlimVo;
import com.songlanyun.modules.concerns.model.ParamsPageReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员的关注表
 * 
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2021-01-12 10:07:49
 */
@Mapper
public interface UserConcernDao extends BaseMapper<UserConcern> {

    IPage<ConcernSlimVo> myFansPage(IPage<ConcernSlimVo> page, @Param("paramsMapToReq") ParamsPageReq paramsMapToReq);

    IPage<ConcernSlimVo> myConcernsPage(IPage<ConcernSlimVo> page, @Param("paramsMapToReq") ParamsPageReq paramsMapToReq);
}
